package com.CST.service.impl;

import com.CST.common.api.ResultObject;
import com.CST.dto.InSourceDTO;
import com.CST.entity.EtlIncomeinsource;
import com.CST.mapper.cst.EtlIncomeinsourceMapper;
import com.CST.service.IEtlIncomeinsourceService;
import com.CST.vo.InSourceVO;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ly
 * @since 2022-01-06
 */
@Service
public class EtlIncomeinsourceServiceImpl extends ServiceImpl<EtlIncomeinsourceMapper, EtlIncomeinsource> implements IEtlIncomeinsourceService {

    @Autowired
    private EtlIncomeinsourceMapper etlIncomeinsourceMapper;
    
    @Override
    public ResultObject listEtlInComeInSource(InSourceDTO inSourceDTO) {
        List<InSourceVO> inSourceVOList = etlIncomeinsourceMapper.listEtlInComeInSource(inSourceDTO);
        return ResultObject.successReturn(inSourceVOList);
    }
}
